package com.apexsoft.assets.base.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created by Administrator on 2018/2/28.
 */
/* *
 *
 * 废弃ListJSONRequest,采用QueryJSONRequest替代
 * 简化了请求报文写法
 *
 *
 */
@ApiModel(description = "请求报文原型")
@Deprecated
public class ListJSONRequest<T> extends JSONRequest {
    @ApiModelProperty(position = 3, notes = "每页数:在分页查询中有用")
    private long pageSize = -1;
    @ApiModelProperty(position = 4, notes = "当前页:在分页查询中有用")
    private long currentPage = -1;

    @ApiModelProperty(position = 2, notes = "查询条件")
    private T data;

    public long getPageSize() {
        return pageSize;
    }

    public void setPageSize(long pageSize) {
        this.pageSize = pageSize;
    }

    public long getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(long currentPage) {
        this.currentPage = currentPage;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
